package org.jeecg.modules.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.system.entity.CrawlComponent;
import org.jeecg.modules.system.entity.CrawlSiteFeatureDoc;

/**
 * @Author wt
 * @Date: 2024/9/25 11:29
 * @Description:
 */
public interface IScrawlSiteFeatureDocService extends IService<CrawlSiteFeatureDoc> {

    Page<CrawlSiteFeatureDoc> querySiteFeatureDoc(Page<CrawlSiteFeatureDoc> page, CrawlSiteFeatureDoc crawlSiteFeatureDoc);

    /**
     * 新增
     *
     * @return 结果
     */
    public int insertCrawlSiteFeatureDoc(CrawlSiteFeatureDoc crawlSiteFeatureDoc);

    /**
     * 修改文章
     *
     * @return 结果
     */
    public boolean updateCrawlSiteFeatureDoc(CrawlSiteFeatureDoc crawlSiteFeatureDoc);


    /**
     * 删除文章
     * @param id
     * @return
     */
    public int deleteFeatureDoc(Long id);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    public int deleteBatchFeatureDoc(Long[] ids);
}
